<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>dzsq</title>
    <link rel="stylesheet" type="text/css" th:href="@{/user/css/bootstrap.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/user/css/style.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/user/css/font-awesome.min.css}">
    <link rel="apple-touch-icon-precomposed" th:href="@{/user/images/icon/icon.png}">
    <link rel="shortcut icon" th:href="@{/user/images/icon/favicon.ico}">
    <script th:src="@{/user/js/jquery-2.1.4.min.js}"></script>
    <!--[if gte IE 9]>
    <script th:src="@{/admin/js/jquery-1.11.1.min.js}" type="text/javascript"></script>
    <script th:src="@{/admin/js/html5shiv.min.js}" type="text/javascript"></script>
    <script th:src="@{/admin/js/respond.min.js}" type="text/javascript"></script>
    <script th:src="@{/admin/js/selectivizr-min.js}" type="text/javascript"></script>
    <![endif]-->
    <!--[if lt IE 9]>
    <script>window.location.href='upgrade-browser.html';</script>
    <![endif]-->
</head>

<body class="user-select">
<section class="container-fluid">
    <div th:replace="~{common/common::topbar}"></div>
    <div class="row">
        <div th:replace="~{common/common::sidebar(active='category')}"></div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-lg-10 col-md-offset-2 main" id="main">
            <div class="row">
                <div class="col-md-5">
                    <h1 class="page-header">添加</h1>
                    <form th:action="@{/addType}" method="post" autocomplete="off">
                        <div class="form-group">
                            <label for="name">id</label>
                            <input type="text" name="id" class="form-control" placeholder="在此处输入id" required autocomplete="off">
                        </div>
                        <div class="form-group">
                            <label for="name">栏目名称</label>
                            <input type="text" id="name" name="name" class="form-control" placeholder="在此处输入栏目名称" required autocomplete="off">
                            <span class="prompt-text">这将是它在站点上显示的名字。</span>
                        </div>
                        <button class="btn btn-primary" type="submit">添加新栏目</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<div th:replace="~{common/common::info}"></div>
</body>
</html>
